package com.datawale.vh.demo.work.service;


import com.datawale.vh.demo.work.domain.category.ResourceCategory;

import java.util.List;

/**
 * 后台资源分类管理Service
 */
public interface ResourceCategoryService {

    /**
     * 获取所有资源分类
     */
    List<ResourceCategory> listAll();

    /**
     * 创建资源分类
     */
    int create(ResourceCategory resourceCategory);

    /**
     * 修改资源分类
     */
    int update(Long id, ResourceCategory resourceCategory);

    /**
     * 删除资源分类
     */
    int delete(Long id);
}
